package com.kgo.eidtor.entity;

public class BaseEntity {
	private Integer page = 1;
	private Integer limit = 500;
	private Integer start = 0;

	/**
	 * 分页
	 * 
	 * @author lizhenming
	 * @date 2019年1月4日
	 */
	public void setpaging() {
		this.start = (this.page - 1) * this.limit;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

}
